package com.shunli.cterminal.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static com.examples.core.tool.utils.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @ClassName: MerchantDTO
 * @Description: TODO
 * @Author: DAIYALU
 * @Date: 2025/3/22
 * @Version: 1.0
 */
@Data
public class MerchantDTO {

    private String payDomain;
    private List<String> payChannel;
    private String merchantNumber;
    private List<String> channelCode;
    private String wechatMchId;
    private String alipayMchId;

    @Schema(description = "生日")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime birthday;

    @Schema(description = "性别 0-女 1-男 2-未知")
    private Integer sex;
    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "订单号")
    private String orderId;

    @Schema(description = "商品类型")
    private String goodsType;

    @Schema(description = "原始价格")
    private BigDecimal yuanPrice;

    @Schema(description = "收款状态 0-未收款 1-已收款")
    private String state;

    @Schema(description = "支付金额")
    private BigDecimal realAmount;

    @Schema(description = "红包金额")
    private BigDecimal abductBao;

    @Schema(description = "是否使用红包 0-未使用 1-已使用")
    private Integer isUseRedbag;
}
